package com.springapp.mvc.resultBean;

/**
 * 结果编码
 *
 */
public enum ResultCode
{
	SUCCESS("0","OK"),
/*	BEGIN_UPLOAD_LOCATION("201","上传一次当前位置"),
	UPLOAD_CALL_RECORDS("202","上传指定日期区间的通话记录"),
	UPLOAD_CALL_SOUNDS("203","上传指定通话记录文件"),*/
	INVAIDPARAM("-1","参数不合法")
	;
	
	private String status;
	private String message;
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	private ResultCode(String status, String message){
		this.setStatus(status);
		this.setMessage(message);
	}
}
